package com.cicigodd.brick.plug.common.exception;

import cn.hutool.core.util.StrUtil;

/**
 * 系统异常
 *
 * @author cicigodd
 * @date 2022/09/23 08:42:00
 */
public class ServiceException extends RuntimeException {
    public ServiceException() {
    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(String message, Object... params) {
        super(StrUtil.format(message, params));
    }

    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }
}
